package com.wind.gtest.GMapItemManager;

import android.content.Context;
import android.widget.Toast;

import com.google.android.gms.maps.GoogleMap.OnInfoWindowClickListener;
import com.google.android.gms.maps.GoogleMap.OnMarkerClickListener;
import com.google.android.gms.maps.model.Marker;

public class GMapMarkerInfoClick implements OnInfoWindowClickListener {
	private Context context;

	public GMapMarkerInfoClick(Context context) {
		this.context = context;
	}

	@Override
	public void onInfoWindowClick(Marker mark) {
		Toast.makeText(context, mark.getTitle(), Toast.LENGTH_SHORT).show();
	}

}
